/* $Id: IBoolFunction.java,v 1.3 2002/01/29 02:04:08 ndp Exp $
**/
using System;
namespace NDODS.DAP.Server
{
	
	/// <summary>Represents a server-side function, which evaluates to a bool value.
	/// Custom server-side functions which return bool values
	/// should implement this interface.
	/// </summary>
	/// <seealso cref="BoolFunctionClause">
	/// </seealso>
	/// <author>  joew 
	/// </author>
	public interface IBoolFunction:IServerSideFunction
	{
		
		/// <summary>Evaluates the function using the argument list given.</summary>
		/// <exception cref="SDODSException">Thrown if the function
		/// cannot Evaluate successfully. The exact type of exception is up
		/// to the author of the server-side function.
		/// </exception>
		bool evaluate(System.Collections.IList args);
	}
}